package edu.lingnan.lingnanblog.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors
@NoArgsConstructor
public class PageBean {
    private int page; // 第几页
    private int pageSize; // 每页记录数
    private int start;  // 起始页

    public PageBean(int page, int pageSize, int start) {
        this.page = page;
        this.pageSize = pageSize;
        this.start = start;
    }

    public PageBean(int page, int pageSize) {
        super();
        this.page = page;
        this.pageSize = pageSize;
    }

}
